<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>修改</title>
<script type="text/javascript" src="${pageContext.request.contextPath}/jvc/js/jvc.js"></script>
<link href="${pageContext.request.contextPath}/jvc/css/blue/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
	jvc.include("jvc.data");		
	jvc.init("main()");
	function main(){
        var userId = '<%= request.getParameter("userId")%>';
		jvc.data.querySingle("/user.page?cmd=query&amp;query.userId=" + userId ,$$("frm"));
	}
	function save(){
		jvc.data.submit($$("frm"),function(j){
			parent.main();
			parent.jvc.window.close();
		});
	}
</script>
</head>
<body>
	<form name="frm" json="/user.page?cmd=update">
		<input type="text" name="key.userId" fld="userId" readonly="readonly" />
		<input type="text" name="module.userName" fld="userName"/>
		<input type="button" onclick="save()"  value="保存"/>
	</form>
</body>
</html>